package com.ruoyi.pingjiao.service;

import com.ruoyi.pingjiao.domain.Coureassess;
import com.ruoyi.pingjiao.domain.CourseassessName;
import com.ruoyi.pingjiao.domain.query.CoureassessQueryParam;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public interface CourseAssessNameService {

    CourseassessName selectByCourseAssessId(Long id);

    List<CourseassessName> selectByCourseAssessIdAndParentId(Long id);

    int count();

    List<CourseassessName> selectName(Long teacherId,Long courseassessId);

    List<CourseassessName> list(CoureassessQueryParam coureassessQueryParam);

    List<CourseassessName> listAll(CourseassessName courseassessName);

    int add(CourseassessName courseassessName);

    int updateInfo(CourseassessName courseassessName);

    int delete(Long[] id);

    Object selectById(Long id);

    void export(HttpServletResponse response,CourseassessName courseassessName) throws Exception;

    List<Integer> selectPercentByCourseAssessId(Integer integer,Integer courseId);
}
